package com.javatest.springboot.mapper;

import com.javatest.springboot.entities.Employee;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/1/5 15:38
 */
//@Mapper或者@MapperScan的方式将接口扫表装配到容器中
public interface EmployeeMapper {
    // 通过id获取员工
    Employee getEmpById(Integer id);

    //插入员工
    int insertEmp(Employee employee);
}
